-- ==
-- input { 3i64 7i64 }
-- output { [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.7320508075688772, 2.449489742783178, 3.0, 3.4641016151377544, 3.872983346207417, 4.242640687119285, 0.0, 2.449489742783178, 3.4641016151377544, 4.242640687119285, 4.898979485566356, 5.477225575051661, 6.0] }
-- structure { Screma 1 }

entry main n m =
  tabulate_2d n m (\i j -> i * 3 * j)
  |> flatten
  |> map (f64.sqrt <-< f64.i64)
